Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App configuration: Use SimpleOrderContents by default #5775

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Jun 5, 2024

With the null promotion configuration in place, we can't use the legacy Spree::OrderContents class, as that makes references to the legacy promotion system.

See #5755

@mamhoff mamhoff requested a review from a team as a code owner June 5, 2024 07:43
@github-actions github-actions bot added the changelog:solidus_core Changes to the solidus_core gem label Jun 5, 2024
@mamhoff mamhoff force-pushed the use-simple-order-contents-by-default branch from bbfc9a5 to 8199988 Compare June 6, 2024 14:54
@github-actions github-actions bot added the changelog:solidus_api Changes to the solidus_api gem label Jun 6, 2024
With the null promotion configuration in place, we can't use the legacy
Spree::OrderContents class, as that makes references to the legacy
promotion system.

See solidusio#5755
This class directly references Spree::PromotionHandler::Cart, and thus
needs to live in the legacy_promotions gem. If you inherit from this
class, and it happens to not be available after upgrading, please add

```
gem "solidus_legacy_promotions"
```

to your Gemfile.
@mamhoff mamhoff force-pushed the use-simple-order-contents-by-default branch from 8199988 to 4438744 Compare June 6, 2024 15:02
@github-actions github-actions bot added the changelog:solidus_backend Changes to the solidus_backend gem label Jun 6, 2024
Copy link

codecov bot commented Jun 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.87%. Comparing base (ea09d7e) to head (4438744).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5775   +/-   ##
=======================================
  Coverage   88.87%   88.87%           
=======================================
  Files         711      711           
  Lines       16885    16885           
=======================================
  Hits        15007    15007           
  Misses       1878     1878           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tvdeyen tvdeyen merged commit e68681f into solidusio:main Jun 11, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_api Changes to the solidus_api gem changelog:solidus_backend Changes to the solidus_backend gem changelog:solidus_core Changes to the solidus_core gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants